package com.fyt.springcloud.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
  * @date 2020/4/3 11:16
  * @desc 通用实体类
  * @author wushihao
  */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    private Integer code;
    private String status;
    private T data;

    public Result(Integer code,String status){
        this(code,status,null);
    }
}
